﻿<!doctype html>
<html>
<head>
<ali:Get ID="SystemConfig" Mark="System" Object="InstanceConfig" Operation="GetBasicSettings()" Lang="PageLang" />
<ali:Get ID="UserConfig" Mark="User" Object="InstanceConfig" Operation="GetBasicSettings()" Lang="PageLang" />
<meta charset="utf-8">
<title>登录 - <%=Channel[Name]%> - <%=Site[Name]%></title>
<link rel="stylesheet" href="<%=CommonPath%>aliui/skin/default/common.css">
<ali:Comment><link rel="stylesheet" href="S01/CHS/css/common.css"></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css">
<script>
var _page = 'login',
	_webPath = '<%=WebPath%>',
	_channelPath = '<%=Request.RawUrl.Substring(0, Request.RawUrl.LastIndexOf('/') + 1)%>',
	_referer = '<%=Request.QueryString["Referer"]%>',
	_adminRole = '<%=Channel[AdminRole]%>',
	_loginPath = '<%=Channel[LoginPath]%>',
	_lang_working = '正在操作...',
	_lang_login_fail = '登陆失败！<br />请检查你的用户名和密码是否正确！',
	_lang_name_empty = '账号不能为空！',
	_lang_password_empty = '密码不能为空！',
	_lang_check_code_empty = '验证码不能为空！';
</script>
</head>
<body class="bg1">
<div class="header2">
	<div class="wrap">
		<%If Convert.IsDBNull(Channel[Logo])%>
			<img src="<%=ImagePath%>logo2.gif" alt="<%=Channel[Name]%>">
		<%Else%>
			<img src="<%=Channel[Logo]%>" alt="<%=Channel[Name]%>">
		<%EndIf%>
	</div>
</div>
<div class="frame2">
	<div class="frame2-wrap">
		<div class="path2 margin1">您的位置：
			<ali:Path IncludeCurrentChannel="True">
				<ali:Record>
					<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt; 
				</ali:Record>
			</ali:Path>
			登录
		</div>
		
		<div class="login margin1">
			<div class="login-left">
				<!-- TemplateBeginEditable name="广告位：用户后台 - 登录侧方" -->
				<ali:Ad Guid="{C90A637D-2DC9-4612-BFBA-A93EFC91F2E6}">
					<a href="http://www.alicms.cn" target="_blank"><img src="<%=ImagePath%>ad/1.jpg" alt="ad" style="width:690px;height:400px"></a>
				</ali:Ad>
				<!-- TemplateEndEditable -->
			</div>
			<div class="login-right">
				<div class="ali-panel">
					<h1 class="ali-panel-header">登录</h1>
					<div class="ali-panel-body">
						<form action="">
							<table>
								<tbody>
									<tr>
										<th>账 户：</th>
										<td><input type="text" name="Name" value="账号/手机号/电子邮箱" title="账号/手机号/电子邮箱" maxlength="20" class="ali-input tip"></td>
									</tr>
									<tr>
										<th>密 码：</th>
										<td><input type="password" name="Password" maxlength="20" class="ali-input"></td>
									</tr>
									<%If Convert.ToBoolean(SystemConfig[DisplayCheckCode])%>
										<tr>
											<th>验证码：</th>
											<td><input type="text" name="CheckCode" maxlength="4" class="ali-input"><img id="check-code-image" src="<%=WebPath%>alicms.aspx?Action=CheckCode" title="点击图片重新生成"></td>
										</tr>
									<%EndIf%>
									<tr>
										<th></th>
										<td><input type="checkbox" id="remember"><label for="remember">记住我</label></td>
									</tr>
								</tbody>
								<tfoot>
									<tr>
										<td colspan="2">
											<button type="submit" class="ali-button ali-active">登 录</button>
										</td>
									</tr>
								</tfoot>
							</table>
							<table style="display:none">
								<tbody>
									<tr>
										<td>欢迎您，<span id="user-name"></span></td>
									</tr>
								</tbody>
								<tfoot>
									<tr>
										<td colspan="2">
											<a href="<%=BuildUrl("index")%>" class="ali-button ali-active">管理中心</a>
											<a href="<%=BuildUrl("logout")%>" class="ali-button ali-active">安全退出</a>
										</td>
									</tr>
								</tfoot>
							</table>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="footer">
	<!-- TemplateBeginEditable name="脚注菜单" -->
	<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
		<div class="footer-menu">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
	<!-- TemplateEndEditable -->

	<%=Footer%>
</div>
<script src="<%=CommonPath%>jquery/core.js"></script>
<script src="<%=CommonPath%>aliui/ali.min.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
